package com.shiyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shiyi.entity.FeedBack;
import org.springframework.data.repository.query.Param;

import javax.validation.Valid;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author blue
 * @since 2022-01-13
 */
public interface FeedBackMapper extends BaseMapper<FeedBack> {

    public void myUpdate(@Param("title") String title, @Param("id") int id);

    public void myInSert(List<FeedBack> list);

    void updateBatch();

    FeedBack selectByIdForUpdate(int id);

    List<FeedBack> selectAll();
    void myUpdateContent(@Param("content") String content, @Param("id") String id);
}
